<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>确认收货</title>
<script type="text/javascript" src="<%=basePath%>js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/vue.min.js"></script>
<link rel="stylesheet" href="<%=basePath%>css/layui/css/layui.css">
<script type="text/javascript"
	src="<%=basePath%>js/stockManage/receiveMaterial.js"></script>
<script type="text/javascript" src="<%=basePath%>js/BaseUtile.js"></script>

</head>
<body style="margin:3%; height: 100%">
	<div style="text-align: center">
		<label style="font-size: 30px">查看待收货的采购订单</label>
	
	</div>
	<div id="showReceiveMaterialDiv">
		<table class="layui-table">
			<thead>
				<tr>
					<th>序号</th>
					<th>订单编码</th>
					<th>供应商</th>
					<th>创建者</th>
					<th>审核人</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<tr v-for="(item ,index) in items">
					<th>{{index+1}}</th>
					<th>{{item.purchaseOrderId}}</th>
					<th>{{item.supplier.nickname}}</th>
					<th>{{item.createBy.nickname}}</th>
					<th>{{item.exameBy.nickname}}</th>
					<th><button class="layui-btn layui-btn-sm"
							v-on:click="show(item)">查看</button></th>
				</tr>
			</tbody>
		</table>

	</div>






	<script type="text/javascript" src="<%=basePath%>css/layui/layui.js"></script>
	<script>
		layui.use('form', function() {

		});
	</script>
</body>
</html>